package pl.pasu.mydiet.client.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class DietPlanDTO implements Serializable {
	private Long id;
	private String name;
	private Date created;
	private int correspondingDay;
	private List<DietProductDTO> products;

	public DietPlanDTO() {
	}

	public DietPlanDTO(Long id) {
		this.id = id;
	}

	public DietPlanDTO(Long id, String name, Date created,
			int correspondingDay, List<DietProductDTO> products) {
		this.id = id;
		this.name = name;
		this.created = created;
		this.correspondingDay = correspondingDay;
		this.products = products;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreated() {
		return created;
	}

	public void setCreated(Date created) {
		this.created = created;
	}

	public int getCorrespondingDay() {
		return correspondingDay;
	}

	public void setCorrespondingDay(int correspondingDay) {
		this.correspondingDay = correspondingDay;
	}

	public List<DietProductDTO> getProducts() {
		return products;
	}

	public void setProducts(List<DietProductDTO> products) {
		this.products = products;
	}

}